#include "../Base/stdafx.h"
#include "PhysXObject.h"


PhysXType PhysXObject::GetType() const
{
	return m_Type;
}

const tstring& PhysXObject::GetName() const
{
	return m_Name;
}

void PhysXObject::SetPosition( const D3DXVECTOR3& pos )
{
	m_Pos = pos;
}

void PhysXObject::Tick( float dTime )
{
	D3DXMatrixIdentity(&m_World);
	D3DXMATRIX tran;
	D3DXMatrixTranslation(&tran, m_Pos.x, m_Pos.y, m_Pos.z);
	m_World *= tran;
}